package com.yangjifang.backend.controller;

import com.yangjifang.entity.data.LoginEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yangjifang
 */
@RestController
@RequestMapping("/login")
public class LoginController {

    @PostMapping("doLogin")
    public String doLogin(@RequestBody LoginEntity loginData){
        System.out.println(loginData);
        return "";
    }
}
